<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
	<head>
		<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
		<title>曹玲丽博客首页</title>
		<!--描述和摘要-->
		<meta name="Description" content=""/>
		<meta name="Keywords" content=""/>
		<!--载入公共模板-->
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link rel="stylesheet" type="text/css" href="http://localhost/lianxi/0919-blog/project2/public/home/org/bootstrap-3.3.5-dist/css/bootstrap.min.css" />
		<script src="http://localhost/lianxi/0919-blog/project2/public/home/js/jquery-1.11.3.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="http://localhost/lianxi/0919-blog/project2/public/home/org/bootstrap-3.3.5-dist/js/bootstrap.min.js" type="text/javascript" charset="utf-8"></script>
		<link rel="stylesheet" type="text/css" href="http://localhost/lianxi/0919-blog/project2/public/home/css/index.css" />
		<link rel="stylesheet" type="text/css" href="http://localhost/lianxi/0919-blog/project2/public/home/css/backTop.css"/>
	</head>
	<body>
		<header>
			<div class="container">
				<div class="row">
					<div class="col-sm-12">
						<h1>后盾blog教学</h1>
					</div>
				</div>
			</div>
		</header>
		<nav role="navigation" class="navbar navbar-default">
			<div class="container">
				<div class="row">
					<div class="col-sm-12" >
					
						<div class="navbar-header">
							
							<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#example-navbar-collapse">
							
								<span class="sr-only">切换导航</span>
								
								<span class="icon-bar"></span>
								<span class="icon-bar"></span>
								<span class="icon-bar"></span>
							</button>
						</div>
						
						
						<div class="collapse navbar-collapse" id="example-navbar-collapse">
							<ul class="_menu" >
								<li                  class="_active" 
                ><a href="http://localhost/lianxi/0919-blog/project2/index.html">首页</a></li>
															</ul>
						</div>
					</div>
				</div>
			</div>
		</nav>
		<section>
			<div class="container">
				<div class="row">
					<!--标签规定文档的主要内容main-->
					<main class="col-md-8">
							<!--绑定一个子模板叫content-->
						<!--name必须和子模板版一致-->
						
<!--标签规定文档的主要内容main-->
						<article class="_carousel">
							<div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
							  <!-- Indicators -->
							  <ol class="carousel-indicators">
							    <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
							    <li data-target="#carousel-example-generic" data-slide-to="1"></li>
							  </ol>
							
							  <!-- Wrapper for slides -->
							  <div class="carousel-inner" role="listbox">
							    <div class="item active">
							      <img src="<?php echo __ROOT__?>/public/home/images/1.jpg">
							    </div>
							    <div class="item">
							       <img src="<?php echo __ROOT__?>/public/home/images/2.jpg">
							    </div>
							  </div>
							
							  <!-- Controls -->
							  <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
							    <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
							  </a>
							  <a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
							    <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
							  </a>
							</div>
						</article>
						<?php foreach ((array)$arcData as $k=>$v){?>
						<article>
							<div class="_head">
								
								<h1><?php echo $v['title']?></h1>
								<span>
								作者：
								<?php echo $v['author']?>
								</span>
								•
								<!--pubdate表⽰示发布⽇日期-->
								<time pubdate="pubdate" datetime="2011-1-1"><?php echo date('Y-m-d H:i:s',$v['sendtime'])?></time>
								•
								分类：
								<a  href="list.html"><?php echo $v['cname']?></a>
							</div>
							<div class="_digest">
							<img src="<?php echo $v['thumb']?>"  class="img-responsive"/>
								<p>
									<?php echo $v['digest']?>
								</p>
							</div>
							<div class="_more">
								<a href="<?php echo U('home/content/index',array('aid'=>$v['aid']))?>" class="btn btn-default">阅读全文</a>
							</div>
							<div class="_footer">
								
								<i class="glyphicon glyphicon-tags"></i>
								<?php foreach ((array)$v['tag'] as $kk=>$vv){?>
								<a href=""><?php echo $vv['tname']?></a>、
								<?php }?>
							</div>
                                <?php }?>
						 </article>
     


					</main>
						<aside class="col-md-4 hidden-sm hidden-xs">
						<div class="_widget">
							<h4>关于自己</h4>
							<div class="_info">
								<p>后盾网人人做后盾...</p>
								<p>
									<i class="glyphicon glyphicon-volume-down"></i>
									目前就职于
									<a href="http://www.houdunwang.com" target="_blank">北京后盾网</a>
								</p>
							</div>
						</div>
						<div class="_widget">
							<h4>分类列表</h4>
							<div>
																<a href="http://localhost/lianxi/0919-blog/project2/index.php?s=home/listpage/index&cid=1">国际新闻(1)</a>
																<a href="http://localhost/lianxi/0919-blog/project2/index.php?s=home/listpage/index&cid=2">纽约爆炸(0)</a>
																<a href="http://localhost/lianxi/0919-blog/project2/index.php?s=home/listpage/index&cid=3">日志(2)</a>
																<a href="http://localhost/lianxi/0919-blog/project2/index.php?s=home/listpage/index&cid=4">经典语录(1)</a>
															</div>
						</div>
						<div class="_widget">
							<h4>标签云</h4>
							<div class="_tag">
																<a href="http://localhost/lianxi/0919-blog/project2/index.php?s=home/listpage/index&tid=1">娱乐新闻</a>
																<a href="http://localhost/lianxi/0919-blog/project2/index.php?s=home/listpage/index&tid=2">php</a>
																<a href="http://localhost/lianxi/0919-blog/project2/index.php?s=home/listpage/index&tid=3">js</a>
																<a href="http://localhost/lianxi/0919-blog/project2/index.php?s=home/listpage/index&tid=4">日子</a>
																<a href="http://localhost/lianxi/0919-blog/project2/index.php?s=home/listpage/index&tid=5">程序人生</a>
																<a href="http://localhost/lianxi/0919-blog/project2/index.php?s=home/listpage/index&tid=6">经典语录</a>
															</div>
						</div>
						
					</aside>
				</div>
			</div>
		</section>
			<footer class="hidden-xs">
			<div class="container">
				<div class="row">
					<div class="col-sm-4">
						<h4 class="_title">最新文章</h4>
												<div id="" class="_single">
							<p><a href="">  习近平谈网络安全观</a></p>
							<time>2016-09-19 16:31:50</time>
						</div>
												<div id="" class="_single">
							<p><a href="">      程序员应该如何高效的工作学习</a></p>
							<time>2016-09-19 16:29:57</time>
						</div>
											</div>
					<div class="col-sm-4 footer_tag">
						<div id="">
							<h4 class="_title">标签云</h4>
														<a href="">娱乐新闻</a>
													<a href="">php</a>
													<a href="">js</a>
													<a href="">日子</a>
													<a href="">程序人生</a>
													<a href="">经典语录</a>
													
						</div>
					</div>
					<div class="col-sm-4">
						<h4 class="_title">友情链接</h4>
						
						<div id="" class="_single">
														<p><a href="$v['url']" target="_blank">百度</a></p>
					    							<p><a href="$v['url']" target="_blank">新浪博客</a></p>
					    							<p><a href="$v['url']" target="_blank">腾讯</a></p>
					    						</div>
						
					</div>
				</div>
			</div>
		</footer>
		<div class="footer_bottom">
			<div class="container">
				<div class="row">
					<div class="col-sm-12">
						<a href="">网站名称</a>
						 | 
						<a href="">版权信息</a>
						 |
						<a href="">admin@163.com</a>
					</div>
				</div>
			</div>
		</div>
		<!--返回顶部自己写的插件-->
		<script src="http://localhost/lianxi/0919-blog/project2/public/home/js/backTop.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			$(function(){
				//插件使用
				$('.back_top').backTop({right:30});
			})
		</script>
		<div class="back_top hidden-xs hidden-md">
			<i class="glyphicon glyphicon-menu-up"></i>
		</div>
	</body>
</html>
